Oracle® Database Globalization Development Kit Java API Reference
10g Release 2 (10.2)

Part No. B14224-02

oracle.i18n.text
Class UTF8ValidationFilter.ValidationBehavior

java.lang.Object
  |
  +--oracle.i18n.text.UTF8ValidationFilter.ValidationBehavior
Enclosing class:
UTF8ValidationFilter

public abstract static class UTF8ValidationFilter.ValidationBehavior
extends Object

The ValidationBehavior class is the class used to determine the behavior in case the conversion fails.


Field Summary
static UTF8ValidationFilter.ValidationBehavior REPLACE
          The parameter indicating the UTF-8 validator replaces the invalid UTF-8 with the replacement character U+FFFD, or 0xef, 0xbf, 0xbd in UTF-8 encoding.
static UTF8ValidationFilter.ValidationBehavior REPORT
          The parameter indicating the UTF-8 validator reports the error if any invalid UTF-8 sequences are found.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

REPORT

public static final UTF8ValidationFilter.ValidationBehavior REPORT
The parameter indicating the UTF-8 validator reports the error if any invalid UTF-8 sequences are found.

The error is UTFDataFormatException.


REPLACE

public static final UTF8ValidationFilter.ValidationBehavior REPLACE
The parameter indicating the UTF-8 validator replaces the invalid UTF-8 with the replacement character U+FFFD, or 0xef, 0xbf, 0xbd in UTF-8 encoding.


Oracle® Database Globalization Development Kit Java API Reference
10g Release 2 (10.2)

Part No. B14224-02

Copyright © 2003, 2005, Oracle. All rights reserved.